<template>
	<page-body>
		<view class="page">
			<view class="flex benben-position-layout flex flex-wrap align-center MyPortrayal_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-center justify-between flex-sub MyPortrayal_fd0_0'>
					<view class='flex flex-wrap align-center MyPortrayal_fd0_0_c0'>
						<text class='fu-iconfont2  MyPortrayal_fd0_0_c0_c0' @tap.stop="handleJumpDiy" data-type="back"
							data-url="1">&#xE794;</text>
					</view>
					<view class='flex flex-wrap align-stretch justify-center'>
						<text class='MyPortrayal_fd0_0_c1_c0'>消息详情</text>
					</view>
					<view class='flex flex-wrap align-center justify-end MyPortrayal_fd0_0_c0'>
					</view>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>

			<view class="title">
				{{obj.title}}
			</view>
			<view class="person">
				<span v-if="obj.publisher"> 发布人：{{obj.publisher}}</span> {{obj.create_time }}
			</view>
			<view class="page-content">
				<view class="" v-html="obj.content"></view>
			</view>

		</view>
	</page-body>
</template>

<script>
	export default {
		data() {
			return {
				aid: "",
				obj: {}
			};
		},
		onLoad(options) {
			this.aid = options.aid
			this.get_operationarticle_info()
		},
		methods: {
			async get_operationarticle_info() {
				let res = await this.$api.get(global.apiUrls.post68413be3159e9, {
					aid: this.aid
				});


				console.log('//////////////////', res);
				if (res.data.code != 1) {
					this.$message.info(res.data.msg);
					return
				}

				this.obj = res.data.data

			},
			goNext() {
				uni.navigateTo({
					url: "/pages/My/newDetail/newDetail"
				})
			}
		}
	}
</script>

<style lang="scss">
	.title {
		font-weight: 600;
		font-size: 40rpx;
		color: #333333;
		line-height: 56rpx;
		margin-top: 30rpx;
		width: 100%;
		text-align: center;
	}

	.person {
		display: flex;
		font-weight: 400;
		font-size: 28rpx;
		color: #999999;
		line-height: 40rpx;
		margin: 24rpx 25rpx 0;

		span {
			margin-right: 36rpx;
		}
	}

	.page-content {
		display: flex;
		justify-content: center;
		margin: 25rpx;
		padding-bottom: 30rpx;
	}

	.page {
		background: #FFFFFF;
		height: 100vh;
		padding-bottom: 30rpx;
	}

	.MyPortrayal_flex_0 {
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.MyPortrayal_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 700;
		color: #333333;
		line-height: 50rpx;
	}

	.MyPortrayal_fd0_0_c0_c0 {
		font-size: 36rpx;
		color: #333;
	}

	.MyPortrayal_fd0_0_c0 {
		width: 120rpx;
	}

	.MyPortrayal_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
	}

	.MyPortrayal_flex_1 {
		padding: 24rpx;
	}

	.MyPortrayal_fd1_7_c1_c1_c0 {
		font-size: 24rpx;
		color: rgba(102, 102, 102, 1);
		font-weight: 400;
		line-height: 48rpx;
	}

	.MyPortrayal_fd1_7_c1_c1 {
		background: #f3f6f8;
		border-radius: 16rpx;
		background-size: 100% auto;
		padding: 24rpx;
	}

	.MyPortrayal_fd1_7_c1_c0_c2_c0 {
		font-size: 24rpx;
		color: #333;
		font-weight: 500;
		line-height: 33rpx;
	}

	.MyPortrayal_progress1_fd1_7_c1_c0_c1_c0 {
		background: rgba(20, 94, 253, 1);
		border-radius: 10rpx 10rpx 10rpx 10rpx;
	}

	.MyPortrayal_fd1_7_c1_c0_c1_c0 {
		border: 1px solid rgba(20, 94, 253, 0.1);
		background: rgba(20, 94, 253, 0.10);
		width: 300rpx;
		height: 20rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		background-size: 100% auto;
	}

	.MyPortrayal_fd1_7_c1_c0_c0_c1 {
		color: rgba(20, 94, 253, 1);
		font-size: 32rpx;
		font-weight: 700;
		line-height: 32rpx;
		text-decoration: none;
	}

	.MyPortrayal_fd1_7_c1_c0_c0_c0 {
		font-size: 48rpx;
		line-height: 56rpx;
		font-weight: 700;
		color: rgba(20, 94, 253, 1);
	}

	.MyPortrayal_fd1_7_c1_c0 {
		background: #f3f6f8;
		border-radius: 16rpx;
		background-size: 100% auto;
		padding: 24rpx;
		height: 286rpx;
	}

	.MyPortrayal_linefd1_7_c0 {
		background: #145efd;
		width: 50rpx;
		height: 8rpx;
		top: 80rpx;
		background-size: 100% auto !important;
		border-radius: 16rpx;
	}
</style>